package com.xyf.sys.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class SysOrderLogistics {
    private Long id;

    private String orderId;

    private String orderProductId;

    /**
     * 物流事件类型 揽收（pickup）、派送（delivery）和处理中（processing）
     */
    private Integer eventType;

    /**
     * 物流事角色类型 如司机（driver）、团长（leader）和工厂（factory）
     */
    private String actorType;

    private String actorName;

    private String description;

    private String location;

    private String stationName;

    /**
     * 站点类型
     */
    private String stationType;

    private String carNo;

    private String signer;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    private Long deptId;

    private String userId;

    private String userName;

    private String userPhone;

    private String status;

    private String delFlag;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String remark;

}